# 自定义函数
# 技巧：区分定义的调用的区别

import random

def judge(x, y):
    if x > y:
        return "big"
    if x < y:
        return "small"
    if x == y:
        return "good"

ran_num = random.randint(1, 10)

while True:
    input_num = int(input("Please input a number: "))
    result = judge(input_num, ran_num)
    print(result)
    if result == "good":
        break
    else:
        continue
